package com.fan.shop.global;

public class ShopGlobalVariables {

	public final static int SUCCESS = 1;
	public final static int FAILED = -1;
	public final static int EDIT_MODE = 0;
	public final static int NEW_MODE = 1;
	public final static String DATABASE_NAME = "shop";
	public final static String ITEM_GROUP = "item";
	public final static String PURCHASE_ORDER_GROUP = "pord";
	public final static String STOCK_RQUISITION_GROUP = "streq";
	
	public final static String ENTERING = "Entering";
	public final static String SUBMITTED = "Submitted";
	public final static String CANCELLED = "Cancelled";
	public final static String RECEIVED = "Received";
	public final static String COMPLETED = "Completed";
	public final static String POSTED = "Posted";
	public final static String FINALISED = "Finalised";
	
	public static final int ZERO = 0;
	
	public static int ICON = 1;
	public static int IMAGE = 2;
	public static int TEMP = 3;
	public static int BRAND_ICON = 4;
	
	
	public static String ICON_PATH = "upload/icons/";
	public static String IMAGE_PATH = "upload/images/";
	public static String TEMP_PATH = "upload/temp/";
	public static String BRAND_ICON_PATH = "upload/icons/brand/";
	
	public final static String MODULE_NAME = "shop"; 
	public final static String PATH_SEPERATOR = "/"; 
	public final static String JPEG_SUFFIX = ".jpg"; 
	
	
	public final static String STOCK_MESSAGE_HEADER = "STK";
	public final static String PO_MESSAGE_HEADER = "PO";
	public final static String STREQ_MESSAGE_HEADER = "STREQ";
	
	public final static String LOW_STOCK_THRESHOLD = "STK_LOW";
	
	public final static int MESSAGE_PENDING = 0;
	public final static int MESSAGE_FIXED = 1;
	
	public final static String STOCKS_LINK = "views/management/stocks.faces";
	public final static String PURCHASE_ORDERS_LINK = "views/management/purchase_orders.faces";
	public final static String STOCK_REQS_LINK = "views/management/stock_reqs.faces";
	
	
	public final static String ADMIN = "ADMIN";
	public final static String GUEST = "GUEST";
	public final static String ROLE_USER = "ROLE_USER";
}
